<div class="limited">
<h1>{{!Site locales}}</h1>
<table class="table">
<thead>
<tr>
	<th>Code</th>
	<th>Name</th>
	<th>Is default</th>
	<th width="30"></th>
	<th width="30"></th>
</tr>
</thead>
<tbody>
{{foreach item in list}}
<tr {{each 2:1}}class="even"{{/each}}>
	<td>{{item.code}}</td>
	<td>{{item.name}}</td>
	<td><div class="onoff {{if item.is_default}}onoffA{{/if}}"></div></td>
	<td><a href="{{action}}?mode=edit&id={{item.id}}" class="button button-edit"></a></td>
	<td><a href="{{action}}?mode=delete&id={{item.id}}" class="button button-delete"></a></td>
</tr>
{{/foreach}}
{{if list.length==0}}<tr><td colspan="5" class="empty">{{!No languages?!}}</td></tr>{{/each}}
</tbody>
</table>
<div class="actions">
	<a href="{{action}}?mode=edit" class="button button-add"></a>
</div>

